<html>    
  <head> 
    <script type="text/javascript" src="../jquery/jquery-1.4.4.min.js"></script>        
    <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
    <script type="text/javascript" src="../gmap3.js"></script> 
    <style>
      .gmap3{
        margin: 20px auto;
        border: 1px dashed #C0C0C0;
        width: 500px;
        height: 250px;
      }
    </style>
    
    <script type="text/javascript">
      
      $(function(){
      

        $('#test1').gmap3(
        { action: 'init', 
          mapTypeId : google.maps.MapTypeId.ROADMAP, 
          center:{lat: 40.740,lng: -74.18}, 
          zoom: 12
        },
        { action: 'addGroundOverlay',
          url: "http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg",
          bounds: [
              {lat:40.765641, lng:-74.139235},
              {lat:40.716216, lng:-74.213393}
          ],
          events: {
              click: function(overlay){
                  alert('clicked on '+ overlay.url);
              }
          }}
        );
    });

    </script>  
  </head>
    
  <body>
    <div id="container">
      <div id="over1" class="box"></div>
      <div id="over2" class="box"></div>
    </div>  
    <div id="test1" class="gmap3"></div>
  </body>
</html>